﻿CREATE TABLE [dbo].[ApplicationTeam] (
    [Id]                        INT           NOT NULL identity,
    [UserId]                    INT           NOT NULL,
    [ApplicationId]             INT           NOT NULL,
    [ApplicationUserFunctionId] INT           NOT NULL,
    [StartDate]                 DATETIME      NOT NULL,
    [EndData]                   DATETIME      NULL,
    [LeaveReason]               VARCHAR (255) NULL
);

